package cn.weakup.designpattern.d_behavior.strategy.usepattern;

/**
 * @author lixj
 * @version 1.0.0
 * @date 2022/6/2
 * @desc 优惠类型
 */
public enum CouponEnum {
    ENOUGH(1, "满减"),
    DISCOUNT(2, "直减"),
    PERCENT(3, "折扣"),
    ANY(4, "N元购");

    private int type;
    private String desc;
    CouponEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
